package Boundry;

import Boundry.GenericTools.IPanelOperation;
import Boundry.GenericTools.ViewDataPanel;
import javax.swing.JLabel;
import javax.swing.JProgressBar;
import javax.swing.JComboBox;
import javax.swing.JTextField;
import javax.swing.JPanel;
import javax.swing.border.TitledBorder;
import javax.swing.JTable;
import javax.swing.JTextPane;

public class ViewUserRequest extends ViewDataPanel  implements IPanelOperation{

	
	private JTextField textField;
	private JTextField textField_1;
	private JTable table;
	
	public ViewUserRequest() {
		
		JLabel lblUser = new JLabel("User");
		lblUser.setBounds(389, 11, 46, 14);
		mainPanel.add(lblUser);
		
		JPanel panel = new JPanel();
		panel.setBorder(new TitledBorder(null, "Step 1 : Select request to review", TitledBorder.LEADING, TitledBorder.TOP, null, null));
		panel.setBounds(10, 49, 337, 190);
		mainPanel.add(panel);
		panel.setLayout(null);
		
		table = new JTable();
		table.setBounds(26, 36, 287, 128);
		panel.add(table);
		
		JPanel panel_1 = new JPanel();
		panel_1.setBorder(new TitledBorder(null, "Step 2 : Review Request", TitledBorder.LEADING, TitledBorder.TOP, null, null));
		panel_1.setBounds(357, 49, 323, 190);
		mainPanel.add(panel_1);
		panel_1.setLayout(null);
		
		JLabel lblYourRequestIs = new JLabel("The step of this request is:");
		lblYourRequestIs.setBounds(10, 93, 168, 14);
		panel_1.add(lblYourRequestIs);
		
		JLabel lblTimeTo = new JLabel("Completion time to current step is: ");
		lblTimeTo.setBounds(10, 118, 168, 14);
		panel_1.add(lblTimeTo);
		
		textField_1 = new JTextField();
		textField_1.setBounds(191, 91, 86, 17);
		panel_1.add(textField_1);
		textField_1.setColumns(10);
		
		textField = new JTextField();
		textField.setBounds(191, 116, 86, 17);
		panel_1.add(textField);
		textField.setColumns(10);
		
		JTextPane textPane = new JTextPane();
		textPane.setBounds(109, 27, 191, 55);
		panel_1.add(textPane);
		
		JLabel lblRequestDetails = new JLabel("Request Details : ");
		lblRequestDetails.setBounds(14, 37, 85, 14);
		panel_1.add(lblRequestDetails);
	}
	@Override
	public String apHelpButton() {
		return "View Details about request ";
	}
	@Override
	public String setTitle() {
		return "View Request";
	}
}
